﻿using Common.Enum;
using static Common.Enum.StateEnum;

namespace Entity.Finance.View.PayManage
{
    /// <summary>
    /// 对账单视图
    /// </summary>
    public class PayManageView
    {
        /// <summary>
        /// 对账单 ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 对账单编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 供应商 ID
        /// </summary>
        public string SupplierId { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string? SupplierCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }

        /// <summary>
        /// 付款状态
        /// </summary>
        public PayType Status { get; set; }

        /// <summary>
        /// 待付款金额
        /// </summary>
        public decimal PayToDo { get; set; }

        /// <summary>
        /// 已付款金额
        /// </summary>
        public decimal PayDone { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? File { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 退款附件
        /// </summary>
        public string? ReturnFile { get; set; }

        /// <summary>
        /// 退款备注
        /// </summary>
        public string? ReturnRemark { get; set; }
    }
}
